#include "webparserauthor.h"

QList<int> webparserAuthor::GetArticleList(const QUrl &Address)
{
    QWebPage WP;

    WP.mainFrame()->load(Address);

    QEventLoop loop;
    connect(&WP, SIGNAL( loadFinished(bool)), &loop, SLOT(quit()));
    loop.exec();

    return ParsePage(&WP);
}
